<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>05-变量</title>
    <script>
        // 1. 声明了一个age变量
        var age;
        // 2. 赋值  把值存入这个变量中
        age = 18;
        // 3. 输出结果
        console.log(age);
        // 4. 变量的初始化
        var myname = 'pink老师';
        console.log(myname);
    </script>
</head>

<body>

</body>

</html>